/*
 * Copyright © 2017 Cask Data, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
*/

@import '../../../styles/variables.scss';

$modal_gray: #cccccc;
$tab_bg_color: #eeeeee;

.schedule-runtime-args {
  > fieldset {
    height: 400px;
  }
  > .button-container {
    padding: 10px;
    border-top: 1px solid $modal_gray;
  }
  hr {
    margin-left: -15px;
    margin-right: -15px;
  }
  .cask-configurable-tab {
    min-height: 300px;
    max-height: inherit;

    .cask-tabs.vertical {
      min-height: inherit;
      max-height: inherit;

      > div {
        &:nth-child(2) {
          width: calc(100% - 240px);
        }
        &:first-child {
          width: 240px;
          padding: 0;
          background: transparent;
          border-right: 1px solid $modal_gray;
        }

        &.cask-tab-headers {
          .cask-tab-head {
            border-bottom: 1px solid $modal_gray;
            &.active-tab {
              color: var(--brand-primary-color);
              background: $tab_bg_color;
              border-left: 0;
            }
            span {
              &.tab-header-icon {
                margin: 0 5px 0 0;
                .icon-sliders.icon-svg {
                  transform: rotate(90deg);
                }
              }
            }
          }
        }
      }
    }
  }
}
